"""
URL configuration for SecTraffic project.

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/5.0/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path

from app01 import views

urlpatterns = [
    # path('admin/', admin.site.urls),
    path('',views.index,name='index'),
    path('register/',views.register,name='register'),
    path('login/',views.login, name='login'),
    path('City/training',views.training,name='training'),#开始训练页面
    path('City/training/trainingResult',views.trainingResult,name='TrainingResult'),#训练结果页面
    path('City/predicting',views.predicting,name='predicting'),#预测结果
    path('City/predicting/predictingMap',views.predictingMap,name='predictingMap'),#预测结果的可视化地图
    path('Node/',views.Node,name='Node'),#Node上传数据，上传结果会直接在该页面显示
    path('Node/NodeInquiry',views.NodeInquiry,name='NodeInquiry'),#Node发送预测请求和查询预测结果页面
    path('Node/NodeInquiry/NodeInquiryResult',views.NodeInquiryResult,name='NodeInquiryResult'),#Node查询得到结果页面
]
